package com.lancoo.znbkxx.teacher.ui.fragment.cognitiveAssessment

import android.view.View
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import com.lancoo.znbkxx.teacher.R
import com.lancoo.znbkxx.teacher.aibkTestCoach.kBase.KBaseFragment
import kotlinx.android.synthetic.main.aibk_fragment_cognitive_infor_list.view.*


class CognitiveInforListFragment:KBaseFragment() {

    var rootView:View? = null

    override fun createLayout(): Int {
        return R.layout.aibk_fragment_cognitive_infor_list
    }

    override fun initView(view: View?) {
        rootView = view

        var manager = LinearLayoutManager(activity)
        manager.orientation = LinearLayoutManager.VERTICAL
        rootView!!.RvCognitiveInforList.layoutManager = manager
        val mAdapter = CognitiveInforItemAdapter(requireActivity())
        rootView!!.RvCognitiveInforList.adapter = mAdapter
    }
}